package com.xyht.medicine_management_system.modules.visit.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.visit.entity.MmsMedicineVisit;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 访问表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-12-17
 */
public interface MmsMedicineVisitService extends IService<MmsMedicineVisit> {

    ResponseResult getEachMedicineVisit(String classificationId, Integer dateType);

    ResponseResult getVisitData();

    ResponseResult getMedicineVisitRanking();

    ResponseResult getSalesStatistics(Integer dateType, Integer lastNumber);

    ResponseResult getCustomerPurchaseStatistics(Integer pageNum,Integer pageSize);

    ResponseResult getReturnStatistics(Integer pageNum,Integer pageSize,Integer dateType);

    ResponseResult getMedicineRanking();

    ResponseResult getMedicineSaleStatistics();
}
